package com.dz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(scanBasePackages = "com.dz")
@EnableTransactionManagement(proxyTargetClass = true)
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.dz")
@EnableSwagger2
public class DzUserApplication {

	public static void main(String[] args) {
		SpringApplication.run(DzUserApplication.class, args);
	}
}
